package com.yonyou.marketing.app.api.model;

import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.*;

@Table(name = "TM_SMS_LOG")
public class TmSmsLog {
    @Id
    @Column(name = "ID")
    @SequenceGenerator(name="",sequenceName="SEQ_TM_SMS_LOG")
    private Integer id;

    @Column(name = "MSG_CONTENT")
    private String msgContent;

    @Column(name = "SEND_TO")
    private String sendTo;

    @Column(name = "CREATE_DATE")
    private Date createDate;

    @Column(name = "MSG_TYPE")
    private Short msgType;

    @Column(name = "SNED_RESULT")
    private String snedResult;

    @Column(name = "SEND_FORM")
    private String sendForm;

    @Column(name = "LASTCHECKTIME")
    private Date lastchecktime;

    @Column(name = "ERROR_COUNT")
    private BigDecimal errorCount;

    /**
     * @return ID
     */
    public Integer getId() {
        return id;
    }

    /**
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * @return MSG_CONTENT
     */
    public String getMsgContent() {
        return msgContent;
    }

    /**
     * @param msgContent
     */
    public void setMsgContent(String msgContent) {
        this.msgContent = msgContent;
    }

    /**
     * @return SEND_TO
     */
    public String getSendTo() {
        return sendTo;
    }

    /**
     * @param sendTo
     */
    public void setSendTo(String sendTo) {
        this.sendTo = sendTo;
    }

    /**
     * @return CREATE_DATE
     */
    public Date getCreateDate() {
        return createDate;
    }

    /**
     * @param createDate
     */
    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    /**
     * @return MSG_TYPE
     */
    public Short getMsgType() {
        return msgType;
    }

    /**
     * @param msgType
     */
    public void setMsgType(Short msgType) {
        this.msgType = msgType;
    }

    /**
     * @return SNED_RESULT
     */
    public String getSnedResult() {
        return snedResult;
    }

    /**
     * @param snedResult
     */
    public void setSnedResult(String snedResult) {
        this.snedResult = snedResult;
    }

    /**
     * @return SEND_FORM
     */
    public String getSendForm() {
        return sendForm;
    }

    /**
     * @param sendForm
     */
    public void setSendForm(String sendForm) {
        this.sendForm = sendForm;
    }

    /**
     * @return LASTCHECKTIME
     */
    public Date getLastchecktime() {
        return lastchecktime;
    }

    /**
     * @param lastchecktime
     */
    public void setLastchecktime(Date lastchecktime) {
        this.lastchecktime = lastchecktime;
    }

    /**
     * @return ERROR_COUNT
     */
    public BigDecimal getErrorCount() {
        return errorCount;
    }

    /**
     * @param errorCount
     */
    public void setErrorCount(BigDecimal errorCount) {
        this.errorCount = errorCount;
    }
}